package org.mil.logic;

import org.mil.util.ResourceUtil;
/**
 * 专门读properties配置文件的全局参数阅读器
 * @author HZK
 *
 */
public class PropertyReader {
	//private static Properties configProperties;
	
	//配置文件路径
	public static final String CONFIG_PATH = "config.properties";
	
	
	


	
	public static String get(String key){
		return ResourceUtil.getPropertyByName(key);
		
	}	
	public static String getSHA1ExePath(){
		return get("SHA1_Exe_Path");
	}
	public static String getMediaInfoCLIPath(){
		return get("MediaInfo_CLI_Executive_Path");
	}
	
	public static String getMediaInfoCLIOutputCoef(){
		return get("MediaInfo_CLI_Output_Type");		 
	}
	
	public static String getMediaInfoCLIOutputEncoding(){
		return get("MediaInfo_CLI_Output_Encoding");
	}
	public static String getWikiNameInfoFile(){
		return get("WikiNameInfoFile");		 
	}
	
	public static String getReportFormatFile(){
		return get("ReportFormatFile");		 
	}
	
	
}
